package com.lang.service;

import com.lang.entity.Cart;

import java.util.List;

/*
 * @Date : 2024/3/13 16:12
 * @Created by Lang
 * @ProjectName : LclShop
 */
public interface CartService {
    int addCart(int uId, String pid, String price);

    List<Cart> getCarts(int uid);

    int updateCartNum(String cid, String price,String num);

    int clearCart(int uid);

    int deleteCart(String cid);
}
